package com.lonely.api.shein.http;

import com.lonely.api.shein.model.AuthInfo;
import com.lonely.api.shein.model.HttpMethodEnum;
import lombok.Data;

import java.util.HashMap;
import java.util.Map;

/**
 * http 请求构造器
 *
 * @author fzzf
 */
@Data
public class RequestBuilder {
    /**
     * the httpMethod which you use
     */
    private HttpMethodEnum method;
    /**
     * api url
     */
    private String url;
    /**
     * http header
     */
    private Map<String, String> headers = new HashMap<>();
    /**
     * get param
     */
    private Map<String, String> queryParams = new HashMap<>();
    /**
     * post jsonString
     */
    private String body;
    /**
     * AuthInfo
     */
    private AuthInfo authInfo;

}
